window._erp_router = {
    'index': {
        url: "/index",
        templateUrl: "views/index.html",
        controller: "ApplicationCtrl"
    },
    'main': {
        url: "/main",
        templateUrl: "views/main.html",
        controller: "MainCtrl"
    },
    'about': {
        url: "/about",
        templateUrl: "views/about.html",
        controller: "AboutCtrl"
    },
    //=======d店铺分销 start======
    'storedistribution': {
        url: "/storedistribution",
        template: "<div ui-view></div>",
        controller: "StoredistributionCtrl"
    },
    'storedistribution.add': {
        url: "/add",
        templateUrl: "views/storedistribution.add.html",
    },
    'storedistribution.list': {
        url: "/list",
        templateUrl: "views/storedistribution.list.html",
    },
    'storedistribution.loglist': {
        url: "/loglist",
        templateUrl: "views/storedistribution.loglist.html",
    },
    'storedistribution.groupadd': {
        url: "/groupadd",
        templateUrl: "views/storedistribution.groupadd.html",
    },
    'storedistribution.grouplist': {
        url: "/grouplist",
        templateUrl: "views/storedistribution.grouplist.html",
    },
    'storedistribution.item': {
        url: "/item",
        templateUrl: "views/storedistribution.item.html",
    },
    //=======店铺分销 start======

    //=======授权 start======
    'website': {
        url: "/website",
        template: "<div ui-view></div>",
        controller: "WebsiteCtrl"
    },
    'website.add': {
        url: "/add",
        templateUrl: "views/website.add.html",
    },
    'website.list': {
        url: "/list",
        templateUrl: "views/website.list.html",
    },
    //=======授权 start======
    //
    //=======授权 start======
    'auth': {
        url: "/auth",
        template: "<div ui-view></div>",
        controller: "AuthCtrl"
    },
    'auth.reg': {
        url: "/reg",
        templateUrl: "views/auth.reg.html",
    },
    //=======授权 start======
    'gifts': {
        url: "/gifts",
        template: "<div ui-view></div>",
        controller: "GiftsCtrl"
    },
    'gifts.add': {
        url: "/add",
        templateUrl: "views/gifts.add.html",
    },
    'gifts.list': {
        url: "/list",
        templateUrl: "views/gifts.list.html",
    },
    'gifts.info': {
        url: "/info",
        templateUrl: "views/gifts.info.html",
    },
    //l面付
    'mianfu': {
        url: "/mianfu",
        template: "<div ui-view></div>",
        controller: "MianfuCtrl"
    },
    'mianfu.list': {
        url: "/list",
        templateUrl: "views/mianfu.list.html",
    },
    //海关
    'wms': {
        url: "/wms",
        template: "<div ui-view></div>",
        controller: "WmsCtrl"
    },
    'wms.list': {
        url: "/list",
        templateUrl: "views/wms.list.html",
    },
    'wms.add': {
        url: "/add",
        templateUrl: "views/wms.add.html",
    },
    'wms.customsitemslist': {
        url: "/customsitemslist",
        templateUrl: "views/wms.customsitemslist.html",
    },
    'wms.customsitemsupdate': {
        url: "/customsitemsupdate",
        templateUrl: "views/wms.customsitemsupdate.html",
    },
    'wms.hgitemimport': {
        url: "/hgitemimport",
        templateUrl: "views/wms.hgitemimport.html",
    },
    //l留言
    'liuyan': {
        url: "/liuyan",
        template: "<div ui-view></div>",
        controller: "LiuyanCtrl"
    },
    'liuyan.list': {
        url: "/list",
        templateUrl: "views/liuyan.list.html",
    },
    //l个人信息
    'selleruser': {
        url: "/selleruser",
        template: "<div ui-view></div>",
        controller: "SelleruserCtrl"
    },
    'selleruser.list': {
        url: "/list",
        templateUrl: "views/selleruser.list.html",
    },
    //用户留言
    'buyerliuyan': {
        url: "/buyerliuyan",
        template: "<div ui-view></div>",
        controller: "BuyerliuyanCtrl"
    },
    'buyerliuyan.list': {
        url: "/list",
        templateUrl: "views/buyerliuyan.list.html",
    },
    //课程表
    'classes': {
        url: "/classes",
        template: "<div ui-view></div>",
        controller: "ClassesCtrl"
    },
    'classes.list': {
        url: "/list",
        templateUrl: "views/classes.list.html",
    },
    'classes.add': {
        url: "/add",
        templateUrl: "views/classes.add.html",
    },
    'classes.category': {
        url: "/category",
        templateUrl: "views/classes.category.html",
    },
    'classes.kclist': {
        url: "/kclist",
        templateUrl: "views/classes.kclist.html",
    },
    'classdetail': {
        url: "/classdetail",
        template: "<div ui-view></div>",
        controller: "ClassdetailCtrl"
    },
    'classdetail.list': {
        url: "/list",
        templateUrl: "views/classdetail.list.html",
    },
    'classdetail.add': {
        url: "/add",
        templateUrl: "views/classdetail.add.html",
    },

    //H5l活动
    'h5hd': {
        url: "/h5hd",
        template: "<div ui-view></div>",
        controller: "H5hdCtrl"
    },
    'h5hd.list': {
        url: "/list",
        templateUrl: "views/h5hd.list.html",
    },
    'h5hd.add': {
        url: "/add",
        templateUrl: "views/h5hd.add.html",
    },
    'tongjiwxapp': {
        url: "/tongjiclass",
        template: "<div ui-view></div>",
        controller: "TongjiwxappCtrl"
    },
    'tongjiwxapp.list': {
        url: "/list",
        templateUrl: "views/tongjiwxapp.list.html",
    },
    'tongjiwxapp.info': {
        url: "/add",
        templateUrl: "views/tongjiwxapp.info.html",
    },
    'tongji': {
        url: "/tongji",
        template: "<div ui-view></div>",
        controller: "TongjiCtrl"
    },
    'tongji.list': {
        url: "/list",
        templateUrl: "views/tongji.list.html",
    },
    'tongji.info': {
        url: "/add",
        templateUrl: "views/tongji.info.html",
    },
    //课程
    'tingclass': {
        url: "/tingclass",
        template: "<div ui-view></div>",
        controller: "TingclassCtrl"
    },
    'tingclass.list': {
        url: "/list",
        templateUrl: "views/tingclass.list.html",
    },
    'tingclass.add': {
        url: "/add",
        templateUrl: "views/tingclass.add.html",
    },
    //课程
    'tingwords': {
        url: "/tingwords",
        template: "<div ui-view></div>",
        controller: "TingwordsCtrl"
    },
    'tingwords.list': {
        url: "/list",
        templateUrl: "views/tingwords.list.html",
    },
    'tingwords.add': {
        url: "/add",
        templateUrl: "views/tingwords.add.html",
    },
    //lH5h活动
    'h5hddetail': {
        url: "/h5hddetail",
        template: "<div ui-view></div>",
        controller: "H5hddetailCtrl"
    },
    'h5hddetail.list': {
        url: "/list",
        templateUrl: "views/h5hddetail.list.html",
    },
    'h5hddetail.info': {
        url: "/info",
        templateUrl: "views/h5hddetail.info.html",
    },
    //=======授权 end======

    //=======f附件 start======


    //=======f附件 end======
    //====  公众号素菜单  start
    'gzhmenu': {
        url: "/gzhmenu",
        template: "<div ui-view></div>",
        controller: "GzhmenuCtrl"
    },
    'gzhmenu.list': {
        url: "/list",
        templateUrl: "views/gzhmenu.list.html",
    },
    //====公众号菜单 end
    //====  公众号素材 类目 管理  start
    'gzhsccat': {
        url: "/gzhsccat",
        template: "<div ui-view></div>",
        controller: "GzhsccatCtrl"
    },
    'gzhsccat.list': {
        url: "/list",
        templateUrl: "views/gzhsccat.list.html",
    },
    'gzhsccat.add': {
        url: "/add",
        templateUrl: "views/gzhsccat.add.html",
    },
    //====  公众号素材类目管理  end 
    //====  公众号素材 标签管理  start
    'gzhsctag': {
        url: "/gzhsctag",
        template: "<div ui-view></div>",
        controller: "GzhsctagCtrl"
    },
    'gzhsctag.list': {
        url: "/list",
        templateUrl: "views/gzhsctag.list.html",
    },
    'gzhsctag.add': {
        url: "/add",
        templateUrl: "views/gzhsctag.add.html",
    },
    //====  公众号素材标签管理  end 
    //====  公众号素材 管理  start
    'gzhsc': {
        url: "/gzhsc",
        template: "<div ui-view></div>",
        controller: "GzhscCtrl"
    },
    'gzhsc.list': {
        url: "/list",
        templateUrl: "views/gzhsc.list.html",
    },
    'gzhsc.add': {
        url: "/add",
        templateUrl: "views/gzhsc.add.html",
    },
    //====  公众号素材管理  end 

    'phpresources': {
        url: "/phpresources",
        template: "<div ui-view></div>",
        controller: "PhpresourcesCtrl"
    },
    'phpresources.list': {
        url: "/list",
        templateUrl: "views/phpresources.list.html",
    },
    'phpresources.add': {
        url: "/add",
        templateUrl: "views/phpresources.add.html",
    },

    //=======分销产品 starty==
    'home': {
        url: "/home",
        template: "<div ui-view></div>",
        controller: "HomeCtrl",
    },
    'home.index': {
        url: "/index",
        templateUrl: "views/home.index.html",
        controller: "HomeCtrl",
    },
    'home.add': {
        url: "/add",
        templateUrl: "views/home.add.html",
        controller: "HomeCtrl"
    },
    'home.info': {
        url: "/info",
        templateUrl: "views/home.info.html",
        controller: "HomeCtrl"
    },

    //会员日志
    'balancelog': {
        url: "/balancelog",
        template: "<div ui-view></div>",
        controller: "BalancelogCtrl",
    },
    'balancelog.list': {
        url: "/list",
        templateUrl: "views/balancelog.list.html",
        controller: "BalancelogCtrl",
    },
    'balancelog.info': {
        url: "/info",
        templateUrl: "views/balancelog.info.html",
        controller: "BalancelogCtrl"
    },


    //=======分销产品 end   ==

    //=======分销产品 starty==
    'product': {
        url: "/product",
        template: "<div ui-view></div>",
        controller: "ProductCtrl",
    },
    'product.list': {
        url: "/list",
        templateUrl: "views/product.list.html",
        controller: "ProductCtrl",
    },
    'product.add': {
        url: "/add",
        templateUrl: "views/product.add.html",
        controller: "ProductCtrl"
    },
    'product.info': {
        url: "/info",
        templateUrl: "views/product.info.html",
        controller: "ProductCtrl"
    },
    //=======分销产品 end   ==
    //=======预约项目 starty==
    'reserveopt': {
        url: "/reserveopt",
        template: "<div ui-view></div>",
        controller: "ReserveoptCtrl",
    },
    'reserveopt.list': {
        url: "/list",
        templateUrl: "views/reserveopt.list.html",
        controller: "ReserveoptCtrl",
    },
    'reserveopt.add': {
        url: "/add",
        templateUrl: "views/reserveopt.add.html",
        controller: "ReserveoptCtrl"
    },
    //=======预约项目 end   ==
    //=======预约项目新 starty==
    'preorderopt': {
        url: "/preorderopt",
        template: "<div ui-view></div>",
        controller: "PreorderoptCtrl",
    },
    'preorderopt.list': {
        url: "/list",
        templateUrl: "views/preorderopt.list.html",
        controller: "PreorderoptCtrl",
    },
    'preorderopt.add': {
        url: "/add",
        templateUrl: "views/preorderopt.add.html",
        controller: "PreorderoptCtrl"
    },
    //=======预约项目 end   ==
    //=======预约分类新 starty==
    'restype': {
        url: "/restype",
        template: "<div ui-view></div>",
        controller: "RestypeCtrl",
    },
    'restype.list': {
        url: "/list",
        templateUrl: "views/restype.list.html",
        controller: "RestypeCtrl",
    },
    'restype.add': {
        url: "/add",
        templateUrl: "views/restype.add.html",
        controller: "RestypeCtrl"
    },
    // 
    'basics': {
        url: "/basics",
        template: "<div ui-view></div>",
        controller: "BasicsCtrl",
    },
    'basics.list': {
        url: "/list",
        templateUrl: "views/basics.list.html",
        controller: "BasicsCtrl",
    },
    'basics.add': {
        url: "/add",
        templateUrl: "views/basics.add.html",
        controller: "BasicsCtrl",
    },
    'resitem': {
        url: "/resitem",
        template: "<div ui-view></div>",
        controller: "ResitemCtrl",
    },
    'resitem.list': {
        url: "/list",
        templateUrl: "views/resitem.list.html",
        controller: "ResitemCtrl",
    },
    'resitem.add': {
        url: "/add",
        templateUrl: "views/resitem.add.html",
        controller: "ResitemCtrl"
    },
    //商品标签start
    'label': {
        url: "/label",
        template: "<div ui-view></div>",
        controller: "LabelCtrl",
    },
    'label.list': {
        url: "/list",
        templateUrl: "views/label.list.html",
        controller: "LabelCtrl",
    },
    'label.add': {
        url: "/add",
        templateUrl: "views/label.add.html",
        controller: "LabelCtrl"
    },
    //商品标签end
    //=======预约项目 end   ==
    'basic': {
        url: "/basic",
        template: "<div ui-view></div>",
        controller: "BasicCtrl",
    },
    'basic.list': {
        url: "/list",
        templateUrl: "views/basic.list.html",
        controller: "BasicCtrl",
    },

    //用户中心
    'user': {
        url: "/user",
        template: "<div ui-view></div>",
        controller: "UserCtrl",
    },
    'user.list': {
        url: "/list",
        templateUrl: "views/user.list.html",
        controller: "UserCtrl",
    },

    // timeslotstl
    'timeslotstl': {
        url: "/timeslotstl",
        template: "<div ui-view></div>",
        controller: "TimeslotstlCtrl",
    },
    'timeslotstl.list': {
        url: "/list",
        templateUrl: "views/timeslotstl.list.html",
        controller: "TimeslotstlCtrl",
    },
    'timeslotstl.add': {
        url: "/add",
        templateUrl: "views/timeslotstl.add.html",
        controller: "TimeslotstlCtrl"
    },
    //=======分销产品 starty==
    'organize': {
        url: "/organize",
        template: "<div ui-view></div>",
        controller: "OrganizeCtrl",
    },
    'organize.list': {
        url: "/list",
        templateUrl: "views/organize.list.html",
        controller: "OrganizeCtrl",
    },
    'organize.add': {
        url: "/add",
        templateUrl: "views/organize.add.html",
        controller: "OrganizeCtrl"
    },
    'organize.info': {
        url: "/info",
        templateUrl: "views/organize.info.html",
        controller: "OrganizeCtrl"
    },
    //=======分销产品 end   ==

    //=======分销产品线管理 start====
    'productcat': {
        url: "/productcat",
        template: "<div ui-view></div>",
        controller: "ProductcatCtrl",
    },
    'productcat.list': {
        url: "/list",
        templateUrl: "views/productcat.list.html",
        controller: "ProductcatCtrl"
    },
    'productcat.add': {
        url: "/add",
        controller: "ProductcatCtrl",
        templateUrl: "views/productcat.add.html"
    },
    'productcat.info': {
        url: "/info",
        templateUrl: "views/productcat.info.html",
        controller: "ProductcatCtrl",
    },
    //=======分销产品线管理 end  ====

    //=======预约项目类型管理 start====
    'schematype': {
        url: "/schematype",
        template: "<div ui-view></div>",
        controller: "SchematypeCtrl",
    },
    'schematype.list': {
        url: "/list",
        templateUrl: "views/schematype.list.html",
        controller: "SchematypeCtrl"
    },
    'schematype.add': {
        url: "/add",
        controller: "SchematypeCtrl",
        templateUrl: "views/schematype.add.html"
    },
    //=======预约项目类型管理 end  ====

    //=======预约项目管理 start====
    'schema': {
        url: "/schema",
        template: "<div ui-view></div>",
        controller: "SchemaCtrl",
    },
    'schema.list': {
        url: "/list",
        templateUrl: "views/schema.list.html",
        controller: "SchemaCtrl"
    },
    'schema.add': {
        url: "/add",
        controller: "SchemaCtrl",
        templateUrl: "views/schema.add.html"
    },
    'schema.batch': {
        url: "/batch",
        controller: "SchemaCtrl",
        templateUrl: "views/schema.batch.html"
    },
    //=======预约项目管理 end  ====
    // 
    //=======预约项目管理 start====
    'reservation': {
        url: "/reservation",
        template: "<div ui-view></div>",
        controller: "ReservationCtrl",
    },
    'reservation.list': {
        url: "/list",
        templateUrl: "views/reservation.list.html",
        controller: "ReservationCtrl"
    },
    'reservation.info': {
        url: "/info",
        controller: "ReservationCtrl",
        templateUrl: "views/reservation.info.html"
    },
    //=======预约项目管理 end  ====
    //预约单
    'preorder': {
        url: "/preorder",
        template: "<div ui-view></div>",
        controller: "PreorderCtrl",
    },
    'preorder.list': {
        url: "/list",
        templateUrl: "views/preorder.list.html",
        controller: "PreorderCtrl"
    },
    'preorder.info': {
        url: "/info",
        controller: "PreorderCtrl",
        templateUrl: "views/preorder.info.html"
    },
    //预约end
    //=======设置分销商     start====
    'partner': {
        url: '/partner',
        template: "<div ui-view></div>",
        controller: "PartnerCtrl"
    },
    'partner.list': {
        url: '/list',
        controller: "PartnerCtrl",
        templateUrl: "views/partner.list.html"
    },
    'partner.add': {
        url: '/add',
        controller: "PartnerCtrl",
        templateUrl: "views/partner.add.html",
    },
    'partner.info': {
        url: '/info',
        controller: "PartnerCtrl",
        templateUrl: "views/partner.info.html"
    },
    //=======公众号会员    start======
    'gzhmember': {
        url: '/gzhmember',
        template: "<div ui-view></div>",
        controller: "GzhmemberCtrl"
    },
    'gzhmember.list': {
        url: '/list',
        controller: "GzhmemberCtrl",
        templateUrl: "views/gzhmember.list.html"
    },
    'gzhmember.memberinfo': {
        url: '/memberinfo',
        controller: "GzhmemberCtrl",
        templateUrl: "views/gzhmember.memberinfo.html"
    },
    'gzhmember.redbag': {
        url: '/redbag',
        controller: "GzhmemberCtrl",
        templateUrl: "views/gzhmember.redbag.html"
    },
    //=======会员     end======
    'gzhlabel': {
        url: '/gzhlabel',
        template: "<div ui-view></div>",
        controller: "GzhlabelCtrl"
    },
    'gzhlabel.list': {
        url: '/list',
        controller: "GzhlabelCtrl",
        templateUrl: "views/gzhlabel.list.html"
    },
    'gzhlabel.add': {
        url: '/add',
        controller: "GzhlabelCtrl",
        templateUrl: "views/gzhlabel.add.html"
    },

    //=======会员    start======
    'member': {
        url: '/member',
        template: "<div ui-view></div>",
        controller: "MemberCtrl"
    },
    'member.list': {
        url: '/list',
        controller: "MemberCtrl",
        templateUrl: "views/member.list.html"
    },
    'member.account': {
        url: '/account',
        controller: "MemberCtrl",
        templateUrl: "views/member.account.html"
    },
    'member.info': {
        url: '/info',
        controller: "MemberCtrl",
        templateUrl: "views/member.info.html"
    },
    'member.delete': {
        url: '/delete',
        controller: "MemberCtrl",
        templateUrl: "views/member.delete.html"
    },
    'member.add': {
        url: '/add',
        controller: "MemberCtrl",
        templateUrl: "views/member.add.html"
    },
    //=======会员     end======

    //=======会员等级管理    start======
    'memberlevel': {
        url: '/memberlevel',
        template: "<div ui-view></div>",
        controller: "MemberlevelCtrl"
    },
    'memberlevel.list': {
        url: '/list',
        controller: "MemberlevelCtrl",
        templateUrl: "views/memberlevel.list.html"
    },
    'memberlevel.add': {
        url: '/add',
        controller: "MemberlevelCtrl",
        templateUrl: "views/memberlevel.add.html"
    },
    //=======会员等级管理     end======

    //=======会员等级管理    start======
    'accountvalue': {
        url: '/accountvalue',
        template: "<div ui-view></div>",
        controller: "AccountvalueCtrl"
    },
    'accountvalue.list': {
        url: '/list',
        controller: "AccountvalueCtrl",
        templateUrl: "views/accountvalue.list.html"
    },
    'accountvalue.add': {
        url: '/add',
        controller: "AccountvalueCtrl",
        templateUrl: "views/accountvalue.add.html"
    },
    //=======会员等级管理     end======


    //=======设置分销商     end======
    //=======设置排队     start======
    'queuing': {
        url: '/queuing',
        template: "<div ui-view></div>",
        controller: "QueuingCtrl"
    },
    'queuing.list': {
        url: '/list',
        controller: "QueuingCtrl",
        templateUrl: "views/queuing.list.html"
    },
    'queuing.add': {
        url: '/add',
        controller: "QueuingCtrl",
        templateUrl: "views/queuing.add.html",
    },
    'queuing.info': {
        url: '/info',
        controller: "QueuingCtrl",
        templateUrl: "views/queuing.info.html"
    },
    //=======设置排队     end======

    //=======设置排队     start======
    'kefu': {
        url: '/kefu',
        template: "<div ui-view></div>",
        controller: "KefuCtrl"
    },
    'kefu.list': {
        url: '/list',
        controller: "KefuCtrl",
        templateUrl: "views/kefu.list.html"
    },
    'kefu.add': {
        url: '/add',
        controller: "KefuCtrl",
        templateUrl: "views/kefu.add.html",
    },
    'kefu.wxkfadd': {
        url: '/wxkfadd',
        controller: "KefuCtrl",
        templateUrl: "views/kefu.wxkfadd.html",
    },
    //=======设置排队     end======

    //=======分销商等级管理 start====
    'fenxiaograde': {
        url: '/fenxiaograde',
        controller: "FenxiaogradeCtrl",
        template: "<div ui-view></div>"
    },
    'fenxiaograde.list': {
        url: '/list',
        controller: "FenxiaogradeCtrl",
        templateUrl: "views/fenxiaograde.list.html"
    },
    'fenxiaograde.add': {
        url: '/add',
        controller: "FenxiaogradeCtrl",
        templateUrl: "views/fenxiaograde.add.html"
    },
    'fenxiaograde.info': {
        url: '/info',
        controller: "FenxiaogradeCtrl",
        templateUrl: "views/fenxiaograde.info.html"
    },
    //=======分销商等级管理 end======
    //=======分销商价格  start=======
    'fenxiaoprice': {
        url: '/fenxiaoprice',
        controller: "FenxiaopriceCtrl",
        template: "<div ui-view></div>"
    },
    'fenxiaoprice.list': {
        url: '/list',
        controller: "FenxiaopriceCtrl",
        templateUrl: "views/fenxiaoprice.list.html"
    },
    'fenxiaoprice.add': {
        url: '/add',
        controller: "FenxiaopriceCtrl",
        templateUrl: "views/fenxiaoprice.add.html"
    },
    'fenxiaoprice.info': {
        url: '/info',
        controller: "FenxiaopriceCtrl",
        templateUrl: "views/fenxiaoprice.info.html"
    },


    //=======分销商价格    end=======
    //=======分销合作关系
    'cooperation': {
        url: "/cooperation",
        controller: "CooperationCtrl",
        template: "<div ui-view></div>"
    },
    'cooperation.list': {
        url: "/list",
        controller: "CooperationCtrl",
        templateUrl: "views/cooperation.list.html"
    },
    'cooperation.add': {
        url: "/add",
        controller: "CooperationCtrl",
        templateUrl: "views/cooperation.add.html"
    },
    'cooperation.info': {
        url: "/info",
        controller: "CooperationCtrl",
        templateUrl: "views/cooperation.info.html"
    },
    //======分销商合作管理
    //======财务管理
    'account': {
        url: "/account",
        controller: "AccountCtrl",
        template: "<div ui-view></div>"
    },
    'account.list': {
        url: "/list",
        controller: "AccountCtrl",
        templateUrl: "views/account.list.html"
    },
    'account.add': {
        url: "/add",
        controller: "AccountCtrl",
        templateUrl: "views/account.add.html",
    },
    'account.info': {
        url: "/info",
        controller: "AccountCtrl",
        templateUrl: "views/account.info.html"
    },
    'profit': {
        url: '/profit',
        controller: "ProfitCtrl",
        template: "<div ui-view></div>"
    },
    'profit.list': {
        url: '/list',
        controller: "ProfitCtrl",
        templateUrl: "views/profit.list.html"
    },
    'profit.info': {
        url: "/info",
        controller: "ProfitCtrl",
        templateUrl: "views/profit.info.html"
    },
    //======财务管理
    //======售后统计查询 start=======
    'returnreport': {
        url: "/returnreport",
        controller: "ReturnreportCtrl",
        template: "<div ui-view></div>"
    },
    'returnreport.list': {
        url: "/list",
        controller: "ReturnreportCtrl",
        templateUrl: "views/returnreport.list.html"
    },
    'returnreport.info': {
        url: "/info",
        controller: "ReturnreportCtrl",
        templateUrl: "views/returnreport.info.html"
    },
    //======售后统计查询 end=========
    //======运费模板 start===========
    'faretemp': {
        url: "/faretemp",
        template: "<div ui-view>",
    },
    'faretemp.list': {
        url: "/list",
        controller: "FaretempCtrl",
        templateUrl: "views/faretemp.list.html"
    },
    'faretemp.add': {
        url: "/add",
        controller: "FaretempCtrl",
        templateUrl: "views/faretemp.add.html",
    },
    'faretemp.info': {
        url: "/info",
        controller: "FaretempCtrl",
        templateUrl: "views/faretemp.info.html",
    },
    //======运费模板 end  ===========
    //=====王苍  start=======//
    'store': {
        url: "/store",
        template: "<div ui-view></div>",
        controller: "StoreCtrl"
    },
    'store.list': {
        url: "/list",
        templateUrl: "views/store.list.html"
    },
    'store.add': {
        url: "/add",
        templateUrl: "views/store.add.html"
    },
    'store.config': {
        url: "/config",
        templateUrl: "views/store.config.html"
    },
    'store.pubcode': {
        url: "/pubcode",
        templateUrl: "views/store.pubcode.html"
    },
    'store.tester': {
        url: "/tester",
        templateUrl: "views/store.tester.html"
    },
    'store.payconfig': {
        url: "/payconfig",
        templateUrl: "views/store.payconfig.html"
    },
    'store.address': {
        url: "/address",
        templateUrl: "views/store.address.html"
    },
    'store.addresslist': {
        url: "/addresslist",
        templateUrl: "views/store.addresslist.html"
    },
    'store.baseconfig': {
        url: '/baseconfig',
        templateUrl: "views/store.baseconfig.html"
    },
    'store.attachminiapp': {
        url: '/attachminiapp',
        templateUrl: "views/store.attachminiapp.html"
    },
    'store.copy': {
        url: '/copy',
        templateUrl: "views/store.copy.html"
    },
    'store.platform': {
        url: '/platform',
        templateUrl: "views/store.platform.html"
    },
    'store.applylist': {
        url: "/applylist",
        templateUrl: "views/store.applylist.html"
    },
    'isvstore': {
        url: "/isvstore",
        template: "<div ui-view></div>",
        controller: "IsvstoreCtrl"
    },
    'isvstore.list': {
        url: "/list",
        templateUrl: "views/isvstore.list.html"
    },
    'isvstore.add': {
        url: "/info",
        templateUrl: "views/isvstore.info.html"
    },
    'isvstore.groupadd': {
        url: "/groupadd",
        templateUrl: "views/isvstore.groupadd.html"
    },

    'help': {
        url: "/help",
        template: "<div ui-view></div>",
        controller: "helpCtrl"
    },
    'help.wxapp': {
        url: "/wxapp",
        templateUrl: "views/help.wxapp.html",
    },
    //授权列表start
    'authorization': {
        url: "/authorization",
        template: "<div ui-view></div>",
        controller: "AuthorizationCtrl"
    },
    'authorization.list': {
        url: "/list",
        templateUrl: "views/authorization.list.html",
    },
    'authorization.applylist': {
        url: "/applylist",
        templateUrl: "views/authorization.applylist.html",
    },
    'authorization.add': {
        url: "/add",
        templateUrl: "views/authorization.add.html",
    },
    'authorization.item': {
        url: "/item",
        templateUrl: "views/authorization.item.html",
    },
    //授权列表end

    //商品管理start
    'item': {
        url: "/item",
        template: "<div ui-view></div>",
        controller: "ItemCtrl"
    },
    'item.list': {
        url: "/list",
        templateUrl: "views/item.list.html",
    },
    'item.add': {
        url: "/add",
        templateUrl: "views/item.add.html",
    },
    'item.info': {
        url: "/info",
        templateUrl: "views/item.info.html",
    },
    'item.import': {
        url: "/import",
        templateUrl: "views/item.import.html",
    },
    'item.praise': {
        url: "/praise",
        templateUrl: "views/item.praise.html",
    },
    'item.comments': {
        url: "/comments",
        templateUrl: "views/item.comments.html",
    },
    'item.manualcomments': {
        url: "/manualcomments",
        templateUrl: "views/item.manualcomments.html",
    },
    'item.downloaditems': {
        url: "/downloaditems",
        templateUrl: "views/item.downloaditems.html",
    },
    'item.virtual': {
        url: "/virtual",
        templateUrl: "views/item.virtual.html",
    },
    'item.sku2skus': {
        url: "/sku2skus",
        templateUrl: "views/item.sku2skus.html",
    },
    // 商品管理 end
    // 类目管理start
    'category': {
        url: "/category",
        template: "<div ui-view></div>",
        controller: "CategoryCtrl"
    },
    'category.list': {
        url: "/list",
        templateUrl: "views/category.list.html",
    },
    'category.add': {
        url: "/add",
        templateUrl: "views/category.add.html",
    },
    'category.relation': {
        url: "/relation",
        templateUrl: "views/category.relation.html",
    },
    // 类目end
    // 订单管理start
    'order': {
        url: "/order",
        template: "<div ui-view></div>",
        controller: "OrderCtrl"
    },
    'order.list': {
        url: "/list",
        templateUrl: "views/order.list.html",
    },
    'order.info': {
        url: "/info",
        templateUrl: "views/order.info.html",
    },
    'order.delivery': {
        url: "/delivery",
        templateUrl: "views/order.delivery.html",
    },
    'order.manualorder': {
        url: "/manualorder",
        templateUrl: "views/order.manualorder.html",
    },
    'order.manualorderlist': {
        url: "/manualorderlist",
        templateUrl: "views/order.manualorderlist.html",
    },
    'order.manualorderimport': {
        url: "/manualorderimport",
        templateUrl: "views/order.manualorderimport.html",
    },
    'customsorder': {
        url: "/customsorder",
        template: "<div ui-view></div>",
        controller: "CustomsorderCtrl"
    },
    'customsorder.list': {
        url: "/list",
        templateUrl: "views/customsorder.list.html",
    },
    'customsorder.info': {
        url: "/info",
        templateUrl: "views/customsorder.info.html",
    },
    'customsorder.configlist': {
        url: "/configlist",
        templateUrl: "views/customsorder.config.list.html",
    },
    'customsorder.configadd': {
        url: "/configadd",
        templateUrl: "views/customsorder.config.add.html",
    },
    'review': {
        url: "/review",
        template: "<div ui-view></div>",
        controller: "ReviewCtrl"
    },
    'review.list': {
        url: "/list",
        templateUrl: "views/review.list.html",
    },
    // 订单管理end

    // 订单管理start
    'evaluate': {
        url: "/evaluate",
        template: "<div ui-view></div>",
        controller: "EvaluateCtrl"
    },
    'evaluate.list': {
        url: "/list",
        templateUrl: "views/evaluate.list.html",
    },
    'evaluate.info': {
        url: "/info",
        templateUrl: "views/evaluate.info.html",
    },
    // 订单管理end

    // 分销售后start
    'returnform': {
        url: "/returnform",
        template: "<div ui-view></div>",
        controller: "ReturnformrCtrl"
    },
    'returnform.list': {
        url: "/list",
        templateUrl: "views/returnform.list.html",
    },
    'returnform.add': {
        url: "/add",
        templateUrl: "views/returnform.add.html",
    },
    'returnform.info': {
        url: "/info",
        templateUrl: "views/returnform.info.html",
    },
    //分销售后 end
    //财务管理
    'cashreq': {
        url: "/cashreq",
        template: "<div ui-view></div>",
        controller: "CashreqCtrl"
    },
    'cashreq.list': {
        url: "/list",
        templateUrl: "views/cashreq.list.html",
    },
    'cashreq.add': {
        url: "/add",
        templateUrl: "views/cashreq.add.html",
    },
    //财务管理
    //=======打印 start =========
    'print': {
        url: '/print',
        template: "<div ui-view></div>",
        controller: "PrintCtrl"
    },
    'print.add': {
        url: "/add",
        templateUrl: "views/print.add.html"
    },
    'print.list': {
        url: "/list",
        templateUrl: "views/print.list.html"
    },
    'print.express': {
        url: '/express',
        templateUrl: "views/print.express.html"
    },
    'print.invoice': {
        url: "/invoice",
        templateUrl: "views/print.invoice.html"
    },
    'print.picking': {
        url: '/picking',
        templateUrl: "views/print.picking.html"
    },
    'print.shipping': {
        url: '/shipping',
        templateUrl: "views/print.shipping.html"
    },
    'print.tmplatebinding': {
        url: '/tmplatebinding',
        templateUrl: "views/print.tmplatebinding.html"
    },
    'print.template': {
        url: '/template',
        templateUrl: "views/print.template.html"
    },
    //=======打印 end ===========
    // 文章start
    'article': {
        url: "/article",
        template: "<div ui-view></div>",
        controller: "ArticleCtrl"
    },
    'article.list': {
        url: "/list",
        templateUrl: "views/article.list.html",
    },
    'article.add': {
        url: "/add",
        templateUrl: "views/article.add.html",
    },
    //文章 end

    //素材start
    'material': {
        url: "/material",
        template: "<div ui-view></div>",
        controller: "MaterialCtrl"
    },
    'material.list': {
        url: "/list",
        templateUrl: "views/material.list.html",
    },
    'material.add': {
        url: "/add",
        templateUrl: "views/material.add.html",
    },
    //素材end

    //装修start
    'layout': {
        url: "/layout",
        template: "<div ui-view></div>",
        controller: "LayoutCtrl"
    },
    'layout.list': {
        url: "/list",
        templateUrl: "views/layout.list.html",
    },
    'layout.add': {
        url: "/add",
        templateUrl: "views/layout.add.html",
    },
    //装修end

    //装修start
    'adminlayout': {
        url: "/adminlayout",
        template: "<div ui-view></div>",
        controller: "AdminlayoutCtrl"
    },
    'adminlayout.list': {
        url: "/list",
        templateUrl: "views/adminlayout.list.html",
    },
    'adminlayout.add': {
        url: "/add",
        templateUrl: "views/adminlayout.add.html",
    },
    //装修end
    //桌子布局start
    'desk': {
        url: "/desk",
        template: "<div ui-view></div>",
        controller: "DeskCtrl"
    },
    'desk.list': {
        url: "/list",
        templateUrl: "views/desk.list.html",
    },
    'desk.add': {
        url: "/add",
        templateUrl: "views/desk.add.html",
    },
    'desk.info': {
        url: "/info",
        templateUrl: "views/desk.info.html",
    },
    //桌子类型
    'desktype': {
        url: "/desktype",
        template: "<div ui-view></div>",
        controller: "DesktypeCtrl"
    },
    'desktype.list': {
        url: "/list",
        templateUrl: "views/desktype.list.html",
    },
    'desktype.add': {
        url: "/add",
        templateUrl: "views/desktype.add.html",
    },

    //素材end

    'attach': {
        url: "/attach",
        template: "<div ui-view></div>",
        controller: "AttachCtrl"
    },
    'attach.list': {
        url: "/list",
        templateUrl: "views/attach.list.html",
    },


    //
    //管理员打印管理
    //全站消息控制
    'dhfprint': {
        url: "/dhfprint",
        template: "<div ui-view></div>",
        controller: "DhfprintCtrl"
    },
    'dhfprint.list': {
        url: "/list",
        templateUrl: "views/dhfprint.list.html",
    },
    'dhfprint.add': {
        url: "/add",
        templateUrl: "views/dhfprint.add.html",
    },
    'mini': {
        url: "/mini",
        template: "<div ui-view></div>",
        controller: "MiniCtrl"
    },
    'mini.list': {
        url: "/list",
        templateUrl: "views/mini.list.html",
    },
    'mini.info': {
        url: "/info",
        templateUrl: "views/mini.info.html",
    },

    //模板消息
    'templatemsg': {
        url: "/templatemsg",
        template: "<div ui-view></div>",
        controller: "TemplatemsgCtrl"
    },
    'templatemsg.list': {
        url: "/list",
        templateUrl: "views/templatemsg.list.html",
    },
    'templatemsg.add': {
        url: "/add",
        templateUrl: "views/templatemsg.add.html",
    },

    //========王苍end===============//

    //========郭start===============//
    //授权管理
    'authrize': {
        url: "/authrize",
        template: "<div ui-view></div>",
        controller: "AuthrizeCtrl"
    },
    'authrize.list': {
        url: "/list",
        templateUrl: "views/authrize.list.html",
    },
    'authrize.add': {
        url: "/add",
        templateUrl: "views/authrize.add.html",
    },
    //打折管理
    'dazhe': {
        url: "/dazhe",
        template: "<div ui-view></div>",
        controller: "DazheCtrl"
    },
    'dazhe.list': {
        url: "/list",
        templateUrl: "views/dazhe.list.html",
    },
    'dazhe.add': {
        url: "/add",
        templateUrl: "views/dazhe.add.html",
    },

    //满就送管理
    'mjs': {
        url: "/mjs",
        template: "<div ui-view></div>",
        controller: "MjsCtrl"
    },
    'mjs.list': {
        url: "/list",
        templateUrl: "views/mjs.list.html",
    },
    'mjs.add': {
        url: "/add",
        templateUrl: "views/mjs.add.html",
    },

    //满赠管理
    'mz': {
        url: "/mz",
        template: "<div ui-view></div>",
        controller: "MzCtrl"
    },
    'mz.list': {
        url: "/list",
        templateUrl: "views/mz.list.html",
    },
    'mz.add': {
        url: "/add",
        templateUrl: "views/mz.add.html",
    },
    'mz.detail': {
        url: "/detail",
        templateUrl: "views/mz.detail.html",
    },

    //优惠券
    'coupons': {
        url: "/coupons",
        template: "<div ui-view></div>",
        controller: "CouponsCtrl"
    },
    'coupons.list': {
        url: "/list",
        templateUrl: "views/coupons.list.html",
    },
    'coupons.add': {
        url: "/add",
        templateUrl: "views/coupons.add.html",
    },

    //包邮管理
    'postfee': {
        url: "/postfee",
        template: "<div ui-view></div>",
        controller: "PostfeeCtrl"
    },
    'postfee.list': {
        url: "/list",
        templateUrl: "views/postfee.list.html",
    },
    'postfee.add': {
        url: "/add",
        templateUrl: "views/postfee.add.html",
    },
    'postfee.itemlist': {
        url: "/itemlist",
        templateUrl: "views/postfee.itemlist.html",
    },

    //砍价活动
    'kanjia': {
        url: "/kanjia",
        template: "<div ui-view></div>",
        controller: "KanjiaCtrl"
    },
    'kanjia.list': {
        url: "/list",
        templateUrl: "views/kanjia.list.html",
    },
    'kanjia.add': {
        url: "/add",
        templateUrl: "views/kanjia.add.html",
    },
    'kanjia.info': {
        url: "/info",
        templateUrl: "views/kanjia.info.html",
    },

    //卡券管理
    'coupon': {
        url: "/coupon",
        template: "<div ui-view></div>",
        controller: "CouponCtrl"
    },
    'coupon.list': {
        url: "/list",
        templateUrl: "views/coupon.list.html",
    },
    'coupon.info': {
        url: "/info",
        templateUrl: "views/coupon.info.html",
    },
    'coupon.add': {
        url: "/add",
        templateUrl: "views/coupon.add.html",
    },
    'coupon.log': {
        url: "/log",
        templateUrl: "views/coupon.log.html",
    },

    //拼团
    'pintuan': {
        url: "/pintuan",
        template: "<div ui-view></div>",
        controller: "PintuanCtrl"
    },
    'pintuan.list': {
        url: "/list",
        templateUrl: "views/pintuan.list.html",
    },
    'pintuan.add': {
        url: "/add",
        templateUrl: "views/pintuan.add.html",
    },
    'pintuan.info': {
        url: "/info",
        templateUrl: "views/pintuan.info.html",
    },
    'pintuan.detilinfo': {
        url: "/detilinfo",
        templateUrl: "views/pintuan.detilinfo.html",
    },
    'pintuan.detailone': {
        url: "/detailone",
        templateUrl: "views/pintuan.detailone.html",
    },

    //充值活动
    'balance': {
        url: "/balance",
        template: "<div ui-view></div>",
        controller: "BalanceCtrl"
    },
    'balance.list': {
        url: "/list",
        templateUrl: "views/balance.list.html",
    },
    'balance.add': {
        url: "/add",
        templateUrl: "views/balance.add.html",
    },

    //红包
    'hongbao': {
        url: "/hongbao",
        template: "<div ui-view></div>",
        controller: "HongbaoCtrl"
    },
    'hongbao.list': {
        url: "/list",
        templateUrl: "views/hongbao.list.html",
    },
    'hongbao.add': {
        url: "/add",
        templateUrl: "views/hongbao.add.html",
    },
    'hongbao.detail': {
        url: "/detail",
        templateUrl: "views/hongbao.detail.html",
    },
    'hongbao.withdrawallog': {
        url: "/withdrawallog",
        templateUrl: "views/hongbao.withdrawallog.html",
    },

    //分销商管理
    'distributor': {
        url: "/distributor",
        template: "<div ui-view></div>",
        controller: "DistributorCtrl"
    },
    'distributor.list': {
        url: "/list",
        templateUrl: "views/distributor.list.html",
    },
    'distributor.info': {
        url: "/info",
        templateUrl: "views/distributor.info.html",
    },
    'distributor.setup': {
        url: "/setup",
        templateUrl: "views/distributor.setup.html",
    },
    'distributor.order': {
        url: "/order",
        templateUrl: "views/distributor.order.html",
    },
    'distributor.checkorder': {
        url: "/checkorder",
        templateUrl: "views/distributor.checkorder.html",
    },
    'distributor.clearingorder': {
        url: "/clearingorder",
        templateUrl: "views/distributor.clearingorder.html",
    },
    'distributor.clearingdetail': {
        url: "/clearingdetail",
        templateUrl: "views/distributor.clearingdetail.html",
    },

    //分销商等级
    'fxgrade': {
        url: "/fxgrade",
        template: "<div ui-view></div>",
        controller: "FxgradeCtrl"
    },
    'fxgrade.list': {
        url: "/list",
        templateUrl: "views/fxgrade.list.html",
    },
    'fxgrade.add': {
        url: "/add",
        templateUrl: "views/fxgrade.add.html",
    },

    //产品线管理
    'fxproduct': {
        url: "/fxproduct",
        template: "<div ui-view></div>",
        controller: "FxgradeCtrl"
    },
    'fxproduct.list': {
        url: "/list",
        templateUrl: "views/fxproduct.list.html",
    },
    'fxproduct.add': {
        url: "/add",
        templateUrl: "views/fxproduct.add.html",
    },

    //报名管理
    'huodong': {
        url: "/huodong",
        template: "<div ui-view></div>",
        controller: "HuodongCtrl"
    },
    'huodong.list': {
        url: "/list",
        templateUrl: "views/huodong.list.html",
    },
    'huodong.add': {
        url: "/add",
        templateUrl: "views/huodong.add.html",
    },
    'huodong.newadd': {
        url: "/newadd",
        templateUrl: "views/huodong.newadd.html",
    },
    'huodong.detail': {
        url: "/detail",
        templateUrl: "views/huodong.detail.html",
    },
    'huodong.sign': {
        url: "/sign",
        templateUrl: "views/huodong.sign.html",
    },

    //活动管理
    'activity': {
        url: "/activity",
        template: "<div ui-view></div>",
        controller: "ActivityCtrl"
    },
    'activity.list': {
        url: "/list",
        templateUrl: "views/activity.list.html",
    },
    'activity.add': {
        url: "/add",
        templateUrl: "views/activity.add.html",
    },

    //小程序版本管理
    'wxapp': {
        url: "/wxapp",
        template: "<div ui-view></div>",
        controller: "WxappCtrl"
    },
    'wxapp.list': {
        url: "/list",
        templateUrl: "views/wxapp.list.html",
    },
    'wxapp.add': {
        url: "/add",
        templateUrl: "views/wxapp.add.html",
    },
    'wxapp.fabulist': {
        url: "/fabulist",
        templateUrl: "views/wxapp.fabulist.html",
    },

    //小程序版本管理
    'management': {
        url: "/management",
        template: "<div ui-view></div>",
        controller: "ManagementCtrl"
    },
    'management.list': {
        url: "/list",
        templateUrl: "views/management.list.html",
    },
    'management.add': {
        url: "/add",
        templateUrl: "views/management.add.html",
    },
    'management.msglog': {
        url: "/msglog",
        templateUrl: "views/management.msglog.html",
    },

    //全站消息控制
    'notify': {
        url: "/notify",
        template: "<div ui-view></div>",
        controller: "NotifyCtrl"
    },
    'notify.list': {
        url: "/list",
        templateUrl: "views/notify.list.html",
    },
    'notify.add': {
        url: "/add",
        templateUrl: "views/notify.add.html",
    },

    //ui模块
    'uimods': {
        url: "/uimods",
        template: "<div ui-view></div>",
        controller: "UimodsCtrl"
    },
    'uimods.list': {
        url: "/list",
        templateUrl: "views/uimods.list.html",
    },
    'uimods.add': {
        url: "/add",
        templateUrl: "views/uimods.add.html",
    },


    //权限
    'role': {
        url: "/role",
        template: "<div ui-view></div>",
        controller: "RoleCtrl"
    },
    'role.list': {
        url: "/list",
        templateUrl: "views/role.list.html",
    },
    'role.add': {
        url: "/add",
        templateUrl: "views/role.add.html",
    },
    'role.user': {
        url: "/user",
        templateUrl: "views/role.user.html",
    },
    'role.fujia': {
        url: "/fujia",
        templateUrl: "views/role.fujia.html",
    },

    //服务
    'fuwu': {
        url: "/fuwu",
        template: "<div ui-view></div>",
        controller: "FuwuCtrl"
    },
    'fuwu.list': {
        url: "/list",
        templateUrl: "views/fuwu.list.html",
    },
    'fuwu.add': {
        url: "/add",
        templateUrl: "views/fuwu.add.html",
    },
    'fuwu.order': {
        url: "/order",
        templateUrl: "views/fuwu.order.html",
    },
    'fuwu.detail': {
        url: "/detail",
        templateUrl: "views/fuwu.detail.html",
    },
    'fuwu.clearing': {
        url: "/clearing",
        templateUrl: "views/fuwu.clearing.html",
    },
    'fuwu.clearingdetail': {
        url: "/clearingdetail",
        templateUrl: "views/fuwu.clearingdetail.html",
    },
    'fuwu.manualorders': {
        url: "/manualorders",
        templateUrl: "views/fuwu.manualorders.html",
    },

    //服务
    'config': {
        url: "/config",
        template: "<div ui-view></div>",
        controller: "ConfigCtrl"
    },
    // 'config.list': {
    //     url: "/list",
    //     templateUrl: "views/config.list.html",
    // },
    'config.add': {
        url: "/add",
        templateUrl: "views/config.add.html",
    },


    'wifi': {
        url: "/wifi",
        template: "<div ui-view></div>",
        controller: "WifiCtrl"
    },
    'wifi.index': {
        url: "/index",
        templateUrl: "views/wifi.index.html",
    },

    'wifi.shop': {
        url: "/shop",
        templateUrl: "views/wifi.shop.html",
    },

    'pickpoint': {
        url: "/pickpoint",
        template: "<div ui-view></div>",
        controller: "PickpointCtrl"
    },
    'pickpoint.list': {
        url: "/list",
        templateUrl: "views/pickpoint.list.html",
    },
    'pickpoint.add': {
        url: "/add",
        templateUrl: "views/pickpoint.add.html",
    },

    'msgset': {
        url: "/msgset",
        template: "<div ui-view></div>",
        controller: "MsgsetCtrl"
    },
    'msgset.list': {
        url: "/list",
        templateUrl: "views/msgset.list.html",
    },
    'msgset.add': {
        url: "/add",
        templateUrl: "views/msgset.add.html",
    },

    'subscribemessage': {
        url: "/subscribemessage",
        template: "<div ui-view></div>",
        controller: "SubscribemessageCtrl"
    },
    'subscribemessage.list': {
        url: "/list",
        templateUrl: "views/subscribemessage.list.html",
    },
    'subscribemessage.mylist': {
        url: "/mylist",
        templateUrl: "views/subscribemessage.mylist.html",
    },

    'luckydraw': {
        url: "/luckydraw",
        template: "<div ui-view></div>",
        controller: "LuckydrawCtrl"
    },
    'luckydraw.list': {
        url: "/list",
        templateUrl: "views/luckydraw.list.html",
    },
    'luckydraw.add': {
        url: "/add",
        templateUrl: "views/luckydraw.add.html",
    },
    'luckydraw.detail': {
        url: "/detail",
        templateUrl: "views/luckydraw.detail.html",
    },
    'luckydraw.fakedata': {
        url: "/fakedata",
        templateUrl: "views/luckydraw.fakedata.html",
    },

    'rooms': {
        url: "/rooms",
        template: "<div ui-view></div>",
        controller: "RoomsCtrl"
    },
    'rooms.list': {
        url: "/list",
        templateUrl: "views/rooms.list.html",
    },
    'rooms.add': {
        url: "/add",
        templateUrl: "views/rooms.add.html",
    },
    'rooms.orderlist': {
        url: "/orderlist",
        templateUrl: "views/rooms.orderlist.html",
    },
    'rooms.orderinfo': {
        url: "/orderinfo",
        templateUrl: "views/rooms.orderinfo.html",
    },

    'confession': {
        url: "/confession",
        template: "<div ui-view></div>",
        controller: "ConfessionCtrl"
    },
    'confession.list': {
        url: "/list",
        templateUrl: "views/confession.list.html",
    },
    'confession.add': {
        url: "/add",
        templateUrl: "views/confession.add.html",
    },
    'confession.detail': {
        url: "/detail",
        templateUrl: "views/confession.detail.html",
    },

    'stepfreight': {
        url: "/stepfreight",
        template: "<div ui-view></div>",
        controller: "StepfreightCtrl"
    },
    'stepfreight.list': {
        url: "/list",
        templateUrl: "views/stepfreight.list.html",
    },
    'stepfreight.add': {
        url: "/add",
        templateUrl: "views/stepfreight.add.html",
    },

    //自定义表单
    'customform': {
        url: "/customform",
        template: "<div ui-view></div>",
        controller: "CustomformCtrl"
    },
    'customform.list': {
        url: "/list",
        templateUrl: "views/customform.list.html",
    },
    'customform.add': {
        url: "/add",
        templateUrl: "views/customform.add.html",
    },
    'customform.typelist': {
        url: "/typelist",
        templateUrl: "views/customform.typelist.html",
    },
    'customform.typeadd': {
        url: "/typeadd",
        templateUrl: "views/customform.typeadd.html",
    },
    'customform.datalist': {
        url: "/datalist",
        templateUrl: "views/customform.datalist.html",
    },

    //服务活动
    /*'serviceactivity': {
        url: "/serviceactivity",
        template: "<div ui-view></div>",
        controller: "ServiceactivityCtrl"
    },
    'serviceactivity.list': {
        url: "/list",
        templateUrl: "views/serviceactivity.list.html",
    },
    'serviceactivity.add': {
        url: "/add",
        templateUrl: "views/serviceactivity.add.html",
    },*/
    //========郭end===============//
}

//提取一级目录
window._erp_root_cat = {};
var tmp_root_cat = {};
_.map(_erp_router, function(cf, name) {
    if (name.indexOf(".") == -1) {
        var tname = name;
    } else {
        var tname = name.split(".")[0];
    }
    if (!_erp_root_cat[tname]) {
        _erp_root_cat[tname] = [];
    }

    if (name.indexOf(".") == -1) {
        tmp_root_cat[tname] = cf.url;
        _erp_root_cat[tname].push(cf.url);
    } else {
        _erp_root_cat[tname].push(tmp_root_cat[tname] + cf.url);
    }
});
tmp_root_cat = null;
//console.log("_erp_root_cat......",_erp_root_cat);